<extend name="Layout/index" />
<block name="breadcrumb-01">
	<li class="active">会员管理</li>
</block>

<block name="breadcrumb-02">
	<h1>
		会员管理
		<small>
			<i class="icon-double-angle-right"></i>
			 会员列表
		</small>
	</h1>
</block>
<block name="main">
	
		<table class="table table-striped table-bordered table-hover">
			<thead>
				<tr align='left' bgcolor="#ccc">
					<th>ID</th>
					<th>头像</th>
					<th>账号</th>
					<th>密码</th>
					<th>昵称</th>
					<th>真实姓名</th>
					<th>性别</th>
					<th>状态</th>
					<th>注册时间</th>
					<th>积分</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
			<volist name="list" id="vo">
				<tr>
					<td><{$vo.id}></td>
					<td><{$vo.img}></td>
					<td><{$vo.username}></td>
					<td><{$vo.password}></td>
					<td><{$vo.nickname}></td>
					<td><{$vo.name}></td>
					<td>
	                    <if condition="$vo.sex eq '0'">女
	                        <elseif condition="$vo.sex eq '1'" />男
	                        <else />保密
	                    </if>
                	</td>
                	<td>
	                    <if condition="$vo.status eq '0'">离线
	                   	<elseif condition="$vo.status eq '1'" />在线
	                    </if>
                	</td>

					<td><{$vo.addtime}></td>
					<td><{$vo.score}></td>
					<td>
						<a href="<{:U('User/del',array('id'=>$vo['id']))}>">删除</a>
						<a href="<{:U('User/edit',array('id'=>$vo['id']))}>">修改</a>
					</td>
				</tr>
			</volist>
			</tbody>
			
			
		</table>
	
</block>